package com.example.demo.nuoqi.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.beans.factory.parsing.Problem;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/****
 * @Author:shenkunlin
 * @Description:Favorites构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "Favorites",value = "Favorites")
@Table(name="favorites")
public class Favorites implements Serializable{

	@ApiModelProperty(value = "",required = false)
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	private Integer id;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "userId")
	private Integer userId;//

	@ApiModelProperty(value = "项目",required = false)
    @Column(name = "itemId")
	private Integer itemId;//项目

	@ApiModelProperty(value = "",required = false)
    @Column(name = "createTime")
	private Date createTime;//

	@ApiModelProperty(value = "问题",required = false)
    @Column(name = "probleId")
	private Integer probleId;//问题

	@ApiModelProperty(value = "简历",required = false)
    @Column(name = "resumeId")
	private Integer resumeId;//简历


	@Transient
	private List<Itemdetails> itemdetailsList;
	@Transient
	private List<Problemmanagement> problemmanagementList;
	@Transient
	private List<Resumemanagement> resumemanagementList;


	public List<Itemdetails> getItemdetailsList() {
		return itemdetailsList;
	}

	public void setItemdetailsList(List<Itemdetails> itemdetailsList) {
		this.itemdetailsList = itemdetailsList;
	}

	public List<Problemmanagement> getProblemmanagementList() {
		return problemmanagementList;
	}

	public void setProblemmanagementList(List<Problemmanagement> problemmanagementList) {
		this.problemmanagementList = problemmanagementList;
	}

	public List<Resumemanagement> getResumemanagementList() {
		return resumemanagementList;
	}

	public void setResumemanagementList(List<Resumemanagement> resumemanagementList) {
		this.resumemanagementList = resumemanagementList;
	}

	//get方法
	public Integer getId() {
		return id;
	}

	//set方法
	public void setId(Integer id) {
		this.id = id;
	}
	//get方法
	public Integer getUserId() {
		return userId;
	}

	//set方法
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	//get方法
	public Integer getItemId() {
		return itemId;
	}

	//set方法
	public void setItemId(Integer itemId) {
		this.itemId = itemId;
	}
	//get方法
	public Date getCreateTime() {
		return createTime;
	}

	//set方法
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	//get方法
	public Integer getProbleId() {
		return probleId;
	}

	//set方法
	public void setProbleId(Integer probleId) {
		this.probleId = probleId;
	}
	//get方法
	public Integer getResumeId() {
		return resumeId;
	}

	//set方法
	public void setResumeId(Integer resumeId) {
		this.resumeId = resumeId;
	}


}
